<template>
  <div>
    <h2  class="titleClass" :style="option?option.style:''">
      —&nbsp;&nbsp;&nbsp;{{message}}&nbsp;&nbsp;&nbsp;—
    </h2>
    <div class="link-top"></div>
  </div>

</template>
<script>
  export default {
    name:'title',
    props:['message','option'],
    data(){
      return{

      }
    },
    methods:{

    }
  }
</script>
<style>
  .link-top {
    width: 100%;
    height: 3px;
    border-top: solid rgb(108,198,236) 1px;
    margin-bottom: 10px;
  }
  .titleClass{
    font-size: 20px;
     margin-bottom: 17px;
    color: rgb(108,198,236);
  }
</style>
